package bma.common.langutil.bean.copy;

import bma.common.langutil.convert.Converter;

public class BeanCopyField {

	/**
	 * 不包含
	 */
	private boolean excluded;

	/**
	 * null跳过
	 */
	private boolean nullSkip;

	/**
	 * 别名
	 */
	private String alias;

	/**
	 * 转换器
	 */
	private Converter converter;

	public boolean isExcluded() {
		return this.excluded;
	}

	public void setExcluded(boolean excluded) {
		this.excluded = excluded;
	}

	public BeanCopyField excluded(boolean excluded) {
		this.excluded = excluded;
		return this;
	}

	public boolean isNullSkip() {
		return this.nullSkip;
	}

	public void setNullSkip(boolean nullSkip) {
		this.nullSkip = nullSkip;
	}

	public BeanCopyField nullSkip(boolean nullSkip) {
		this.nullSkip = nullSkip;
		return this;
	}

	public Converter getConverter() {
		return this.converter;
	}

	public void setConverter(Converter converter) {
		this.converter = converter;
	}

	public BeanCopyField converter(Converter converter) {
		this.converter = converter;
		return this;
	}

	public String getAlias() {
		return this.alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	public BeanCopyField alias(String alias) {
		this.alias = alias;
		return this;
	}

}
